//
//  BM-CollectionViewLayout.h
//  15-Homework
//
//  Created by GivenBmli on 16/8/3.
//  Copyright © 2016年 GivenBmli. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol BM_LayoudDelget <NSObject>

- (CGFloat)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout widthForItemAtIndexPath:(NSIndexPath *)indexPath
                   height:(CGFloat)height;
@end

@interface BM_CollectionViewLayout : UICollectionViewLayout
@property (nonatomic, weak)id<BM_LayoudDelget>delegate;
@end
